package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * 护理项目Mapper接口
 */
@Mapper
public interface NursingProjectMapper {

    List<NursingProject> selectAll();


    NursingProject selectById(Long id);


    int insert(NursingProject nursingProject);


    int update(NursingProject nursingProject);


    int deleteById(Long id);

    Page<NursingProject> getByPage(String name, Integer status);

    void updateStatus(Long id, Integer status);

    List<NursingProjectVo> getAll();

    Integer count(Long id);
}